package cn.fengzhilun.javase.day04;

import org.junit.Test;

public class AtClassDemo {
	@Test
	public void test1() {
		Person p=new Person();
		System.out.println(p.name);
		Person p2=new Person("冯仑");
		System.out.println(p2.name);
		p2.setName("西方失败");
		System.out.println(p2.name);
		System.out.println(p2.getName());
	}
}
